import request from '@/utils/request'

// 查询身份审核列表
export function listSfsq(query) {
  return request({
    url: '/business/sfsq/list',
    method: 'get',
    params: query
  })
}

// 查询身份审核详细
export function getSfsq(id) {
  return request({
    url: '/business/sfsq/' + id,
    method: 'get'
  })
}

// 新增身份审核
export function addSfsq(data) {
  return request({
    url: '/business/sfsq',
    method: 'post',
    data: data
  })
}

// 修改身份审核
export function updateSfsq(data) {
  return request({
    url: '/business/sfsq',
    method: 'put',
    data: data
  })
}

// 删除身份审核
export function delSfsq(id) {
  return request({
    url: '/business/sfsq/' + id,
    method: 'delete'
  })
}
